New err_code.pl script to retain old error codes. This should allow the use
[oweals/openssl.git] / crypto / bn / bn_lib.c
index 7ea216f9192f1c5faed5d3f0d11e21292d16e5b6..d8d2c3297d828b198d1f215e14927908e65f9a23 100644 (file)
@@ -60,7 +60,7 @@
 #include "cryptlib.h"
 #include "bn_lcl.h"
 
-char *BN_version="Big Number part of SSLeay 0.9.1a 06-Jul-1998";
+char *BN_version="Big Number part of OpenSSL 0.9.2 31-Dec-1998";
 
 /* For a 32 bit machine
  * 2 -   4 ==  128
@@ -341,6 +341,9 @@ BN_CTX *c;
        {
        int i;
 
+       if(c == NULL)
+           return;
+
        for (i=0; i<BN_CTX_NUM; i++)
                BN_clear_free(&(c->bn[i]));
        if (c->flags & BN_FLG_MALLOCED)