diff options
author | 2003-04-04 18:35:36 +0000 | |
---|---|---|
committer | 2003-04-04 18:35:36 +0000 | |
commit | 2b45c239051fc47ff139eee2a0ed4c09cfcfd7d8 (patch) | |
tree | 0c8c8b0f7fc287703d9fe9a21ecab156ca21d1b4 /lib/libssl/src | |
parent | incorrect bounds limit; spotted by ho (diff) | |
download | wireguard-openbsd-2b45c239051fc47ff139eee2a0ed4c09cfcfd7d8.tar.xz wireguard-openbsd-2b45c239051fc47ff139eee2a0ed4c09cfcfd7d8.zip |
oops
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/apps/x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/apps/x509.c b/lib/libssl/src/apps/x509.c index bc280d2c399..7681e7e8ba5 100644 --- a/lib/libssl/src/apps/x509.c +++ b/lib/libssl/src/apps/x509.c @@ -1030,7 +1030,7 @@ static ASN1_INTEGER *load_serial(char *CAfile, char *serialfile, int create) len = ((serialfile == NULL) ?(strlen(CAfile)+strlen(POSTFIX)+1) - :(strlen(serialfile)))+1); + :(strlen(serialfile)))+1; buf=OPENSSL_malloc(len); if (buf == NULL) { BIO_printf(bio_err,"out of mem\n"); goto end; } if (serialfile == NULL) |