diff options
author | Rich Salz <rsalz@openssl.org> | 2015-01-30 21:35:49 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-01-30 21:35:49 +0100 |
commit | 02a938c953b3e1ced71d9a832de1618f907eb96d (patch) | |
tree | 99e54a5aca1466e188467114e0b01aa73ef67121 /crypto/asn1/asn1_lib.c | |
parent | Dead code clean: #if 0 removal in apps (diff) | |
download | openssl-02a938c953b3e1ced71d9a832de1618f907eb96d.tar.xz openssl-02a938c953b3e1ced71d9a832de1618f907eb96d.zip |
Dead code removal: #if 0 asn1, pkcs7
Keep one #if 0 but rename the symbol to be more descriptive of what
it's doing (you can disable support for old broken Netscape software).
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/asn1/asn1_lib.c')
-rw-r--r-- | crypto/asn1/asn1_lib.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c index aaf5d8508f..bf8452689b 100644 --- a/crypto/asn1/asn1_lib.c +++ b/crypto/asn1/asn1_lib.c @@ -137,12 +137,6 @@ int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, if (inf && !(ret & V_ASN1_CONSTRUCTED)) goto err; -#if 0 - fprintf(stderr, "p=%d + *plength=%ld > omax=%ld + *pp=%d (%d > %d)\n", - (int)p, *plength, omax, (int)*pp, (int)(p + *plength), - (int)(omax + *pp)); - -#endif if (*plength > (omax - (p - *pp))) { ASN1err(ASN1_F_ASN1_GET_OBJECT, ASN1_R_TOO_LONG); /* |