mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-31 10:49:16 +01:00
Add comments above functions
This commit is contained in:
@@ -18008,6 +18008,7 @@ const char* GetCipherEncStr(char n[][MAX_SEGMENT_SZ]) {
|
||||
return encStr;
|
||||
}
|
||||
|
||||
/* Returns the MAC string of a cipher or "unknown" on failure */
|
||||
const char* GetCipherMacStr(char n[][MAX_SEGMENT_SZ]) {
|
||||
|
||||
const char* macStr = NULL;
|
||||
@@ -18041,6 +18042,7 @@ const char* GetCipherMacStr(char n[][MAX_SEGMENT_SZ]) {
|
||||
return macStr;
|
||||
}
|
||||
|
||||
/* Returns the number of bits based on the cipher enc string, or 0 on failure */
|
||||
int SetCipherBits(const char* enc) {
|
||||
int ret = WOLFSSL_FAILURE;
|
||||
|
||||
|
||||
@@ -18269,6 +18269,9 @@ WOLF_STACK_OF(WOLFSSL_X509)* wolfSSL_get_peer_cert_chain(const WOLFSSL* ssl)
|
||||
}
|
||||
|
||||
#if defined(WOLFSSL_QT) || defined(OPENSSL_ALL)
|
||||
/* Builds up and creates a stack of peer certificates for ssl->peerCertChain
|
||||
based off of the ssl session chain. Returns stack of WOLFSSL_X509 certs or
|
||||
NULL on failure */
|
||||
WOLF_STACK_OF(WOLFSSL_X509)* wolfSSL_set_peer_cert_chain(WOLFSSL* ssl)
|
||||
{
|
||||
WOLFSSL_STACK* sk;
|
||||
|
||||
Reference in New Issue
Block a user