/[svn]/ircd-hybrid-7.2/src/rsa.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/rsa.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1012 by michael, Fri Sep 18 10:14:09 2009 UTC revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC
# Line 31  Line 31 
31  #include <openssl/bn.h>  #include <openssl/bn.h>
32  #include <openssl/evp.h>  #include <openssl/evp.h>
33  #include <openssl/err.h>  #include <openssl/err.h>
34    #include <openssl/opensslv.h>
35    
36  #include "memory.h"  #include "memory.h"
37  #include "rsa.h"  #include "rsa.h"
# Line 136  verify_private_key(void) Line 137  verify_private_key(void)
137        
138    if (mkey->version != key->version)    if (mkey->version != key->version)
139    {    {
140  #if (OPENSSL_VERSION_NUMBER & 0x00907000) == 0x00907000  #if (OPENSSL_VERSION_NUMBER >= 0x00907000)
141      ilog(L_CRIT, "Private key corrupted: version %li != version %li",      ilog(L_CRIT, "Private key corrupted: version %li != version %li",
142                   mkey->version, key->version);                   mkey->version, key->version);
143  #else  #else

Legend:
Removed from v.1012  
changed lines
  Added in v.1013

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26