mirror of
https://github.com/curl/curl.git
synced 2026-05-17 12:56:21 +03:00
openssl: remove #if 0 leftover
Follow-up to 4c9768565e (from Sep 2008)
Closes #6268
This commit is contained in:
parent
65d2f563fd
commit
0d75bf9ae9
1 changed files with 0 additions and 4 deletions
|
|
@ -1084,9 +1084,6 @@ int cert_stuff(struct connectdata *conn,
|
|||
/* returns non-zero on failure */
|
||||
static int x509_name_oneline(X509_NAME *a, char *buf, size_t size)
|
||||
{
|
||||
#if 0
|
||||
return X509_NAME_oneline(a, buf, size);
|
||||
#else
|
||||
BIO *bio_out = BIO_new(BIO_s_mem());
|
||||
BUF_MEM *biomem;
|
||||
int rc;
|
||||
|
|
@ -1108,7 +1105,6 @@ static int x509_name_oneline(X509_NAME *a, char *buf, size_t size)
|
|||
BIO_free(bio_out);
|
||||
|
||||
return !rc;
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue