Skip to content

Commit ec4527c

Browse files
author
Lealem Amedie
committed
address more feedback
1 parent 16058ce commit ec4527c

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

src/ssl.c

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26105,7 +26105,6 @@ const WOLFSSL_ObjectInfo wolfssl_object_info[] = {
2610526105

2610626106
/* oidCertNameType */
2610726107
{ NID_commonName, NID_commonName, oidCertNameType, "CN", "commonName"},
26108-
{ NID_surname, NID_surname, oidCertNameType, "SN", "surname"},
2610926108
{ NID_serialNumber, NID_serialNumber, oidCertNameType, "serialNumber",
2611026109
"serialNumber"},
2611126110
{ NID_userId, NID_userId, oidCertNameType, "UID", "userid"},
@@ -29369,29 +29368,6 @@ void* wolfSSL_GetHKDFExtractCtx(WOLFSSL* ssl)
2936929368
}
2937029369
#endif /* OPENSSL_EXTRA || OPENSSL_EXTRA_X509_SMALL */
2937129370

29372-
#if defined(OPENSSL_ALL)
29373-
/* Returns the oid buffer from the short name or long name of an ASN1_object
29374-
* and NULL on failure */
29375-
const byte* wolfSSL_OBJ_txt2oidBuf(char* buf, word32* inOutSz,
29376-
word32 oidType)
29377-
{
29378-
word32 oid;
29379-
int nid;
29380-
29381-
if (buf == NULL)
29382-
return NULL;
29383-
29384-
nid = wolfSSL_OBJ_txt2nid(buf);
29385-
29386-
if (nid != NID_undef) {
29387-
oid = nid2oid(nid, oidType);
29388-
return OidFromId(oid, oidType,inOutSz);
29389-
}
29390-
29391-
return NULL;
29392-
}
29393-
#endif /* OPENSSL_ALL */
29394-
2939529371
#if defined(OPENSSL_EXTRA) || defined(HAVE_LIGHTY) || \
2939629372
defined(WOLFSSL_MYSQL_COMPATIBLE) || defined(HAVE_STUNNEL) || \
2939729373
defined(WOLFSSL_NGINX) || defined(HAVE_POCO_LIB) || \

0 commit comments

Comments
 (0)