LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2012, 06:23 AM   #1
AJ2012
LQ Newbie
 
Registered: Apr 2012
Location: Bangalore, India
Posts: 4

Rep: Reputation: Disabled
OpenSSL API


Hi all,

I am using openssl API X509_gmtime_adj(X509_get_notBefore(pX509),0) to get the Not Before validity time of the certificate. But it returns me time 6 hours +

For example.. if X509_get_notBefore(pX509) returns me 12:35:00, then after X509_gmtime_adj, the time becomes 6:35:00. Why ??
 
Old 05-25-2012, 06:19 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
Looks like a timezone adjustment to me
 
Old 05-28-2012, 12:24 AM   #3
AJ2012
LQ Newbie
 
Registered: Apr 2012
Location: Bangalore, India
Posts: 4

Original Poster
Rep: Reputation: Disabled
Can you please let me know where the timezone adjustment happens... Is it inside the adj API ??
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install of openssl-0.9.8b-8.3.el5 conflicts with file from package openssl-0.9.8b-8.3 jsaravana87 Linux - Server 1 09-26-2011 01:02 PM
openssl ashu_crazyboy1994 Linux - Software 0 11-18-2010 12:23 PM
oops openssl-0.9.8e over openssl-0.9.8d bad install now 2 copies? rcorkum Slackware 4 06-29-2007 01:58 AM
What do you think of OpenSSL? entz Linux - Security 0 04-02-2007 02:22 PM
OpenSSL 0.9.6k kojiroh Solaris / OpenSolaris 2 10-09-2003 10:51 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration