aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl_cert.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-13 15:27:45 +0000
committerBodo Möller <bodo@openssl.org>1999-05-13 15:27:45 +0000
commit224551f73222609952dcc0f21a6b007009c23d60 (patch)
treefb7331b947d5934836d555d62ade0a542d4355fe /ssl/ssl_cert.c
parentb56bce4fc72c99c1ac85ee7de4d0145fe026bb4e (diff)
downloadopenssl-224551f73222609952dcc0f21a6b007009c23d60.tar.gz
Some tiny clean-ups related to the cert_st / sess_cert_st change.
Diffstat (limited to 'ssl/ssl_cert.c')
-rw-r--r--ssl/ssl_cert.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c
index 9a752c3d20..53b77797a5 100644
--- a/ssl/ssl_cert.c
+++ b/ssl/ssl_cert.c
@@ -139,14 +139,6 @@ CERT *ssl_cert_new(void)
return(NULL);
}
memset(ret,0,sizeof(CERT));
-/*
- ret->valid=0;
- ret->mask=0;
- ret->export_mask=0;
- ret->cert_type=0;
- ret->key->x509=NULL;
- ret->key->publickey=NULL;
- ret->key->privatekey=NULL; */
ret->key= &(ret->pkeys[SSL_PKEY_RSA_ENC]);
ret->references=1;
@@ -168,8 +160,6 @@ CERT *ssl_cert_dup(CERT *cert)
memset(ret, 0, sizeof(CERT));
- ret->cert_type = cert->cert_type;
-
ret->key = &ret->pkeys[cert->key - &cert->pkeys[0]];
/* or ret->key = ret->pkeys + (cert->key - cert->pkeys),
* if you find that more readable */
@@ -246,11 +236,6 @@ CERT *ssl_cert_dup(CERT *cert)
}
}
-
- /* ret->cert_chain should not exist: that's pure per-connection data.
- * Anyway, we never use this function when it is non-NULL,
- * so we just don't look at it. */
-
/* ret->extra_certs *should* exist, but currently the own certificate
* chain is held inside SSL_CTX */