Remove duplicate lines.

This commit is contained in:
Dr. Stephen Henson 2004-12-12 13:15:49 +00:00
parent 0c0788ba0a
commit 5e8904f289
3 changed files with 0 additions and 3 deletions

View file

@ -201,7 +201,6 @@ int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value)
return 0; 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);
if (w+1-a->length > 0) memset(c+a->length, 0, w+1-a->length);
a->data=c; a->data=c;
a->length=w+1; a->length=w+1;
} }

View file

@ -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); ASN1err(ASN1_F_ASN1_UTCTIME_SET,ERR_R_MALLOC_FAILURE);
return(NULL); return(NULL);
} }
if (s->data != NULL)
if (s->data != NULL) if (s->data != NULL)
OPENSSL_free(s->data); OPENSSL_free(s->data);
s->data=(unsigned char *)p; s->data=(unsigned char *)p;

View file

@ -228,7 +228,6 @@ int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey)
goto err; goto err;
} }
/* Set number of unused bits to zero */ /* 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|0x07);
pk->public_key->flags|=ASN1_STRING_FLAG_BITS_LEFT; pk->public_key->flags|=ASN1_STRING_FLAG_BITS_LEFT;