ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.3/src/rsa.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/rsa.c (file contents):
Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC vs.
Revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC

# Line 31 | Line 31
31   #include <openssl/bn.h>
32   #include <openssl/evp.h>
33   #include <openssl/err.h>
34 + #include <openssl/opensslv.h>
35  
36   #include "memory.h"
37   #include "rsa.h"
# Line 136 | Line 137 | verify_private_key(void)
137    
138    if (mkey->version != key->version)
139    {
140 < #if (OPENSSL_VERSION_NUMBER & 0x00907000) == 0x00907000
140 > #if (OPENSSL_VERSION_NUMBER >= 0x00907000)
141      ilog(L_CRIT, "Private key corrupted: version %li != version %li",
142                   mkey->version, key->version);
143   #else

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)