diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2004-12-12 13:15:49 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2004-12-12 13:15:49 +0000 |
commit | 5e8904f289759b1c5a9e62b51c353d8e90a9ba9c (patch) | |
tree | 78b9cc8797f3a750ce0bfec8aa00d4653bf93f76 /crypto/asn1 | |
parent | 0c0788ba0ad28b493b50a97439f67b92d1edc6f7 (diff) |
Remove duplicate lines.
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/a_bitstr.c | 1 | ||||
-rw-r--r-- | crypto/asn1/a_utctm.c | 1 | ||||
-rw-r--r-- | crypto/asn1/x_pubkey.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/crypto/asn1/a_bitstr.c b/crypto/asn1/a_bitstr.c index 931cc5969e..6e92ff5a84 100644 --- a/crypto/asn1/a_bitstr.c +++ b/crypto/asn1/a_bitstr.c @@ -201,7 +201,6 @@ int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value) return 0; } if (w+1-a->length > 0) memset(c+a->length, 0, w+1-a->length); - if (w+1-a->length > 0) memset(c+a->length, 0, w+1-a->length); a->data=c; a->length=w+1; } diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c index efebc63a02..d31c028193 100644 --- a/crypto/asn1/a_utctm.c +++ b/crypto/asn1/a_utctm.c @@ -209,7 +209,6 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) ASN1err(ASN1_F_ASN1_UTCTIME_SET,ERR_R_MALLOC_FAILURE); return(NULL); } - if (s->data != NULL) if (s->data != NULL) OPENSSL_free(s->data); s->data=(unsigned char *)p; diff --git a/crypto/asn1/x_pubkey.c b/crypto/asn1/x_pubkey.c index f631d2c68c..2a7f2cab15 100644 --- a/crypto/asn1/x_pubkey.c +++ b/crypto/asn1/x_pubkey.c @@ -228,7 +228,6 @@ int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) goto err; } /* Set number of unused bits to zero */ - /* Set number of unused bits to zero */ pk->public_key->flags&= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); pk->public_key->flags|=ASN1_STRING_FLAG_BITS_LEFT; |