mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-01 12:59:16 +01:00
Jenkins fixes
This commit is contained in:
@@ -4236,7 +4236,7 @@ void InitSuites(Suites* suites, ProtocolVersion pv, int keySz, word16 haveRSA,
|
||||
* hashalgo The hash algorithm.
|
||||
* hsType The signature type.
|
||||
*/
|
||||
WC_INLINE void DecodeSigAlg(const byte* input, byte* hashAlgo, byte* hsType)
|
||||
void DecodeSigAlg(const byte* input, byte* hashAlgo, byte* hsType)
|
||||
{
|
||||
*hsType = invalid_sa_algo;
|
||||
switch (input[0]) {
|
||||
|
||||
12
src/ssl.c
12
src/ssl.c
@@ -16338,8 +16338,14 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
||||
return info;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param first First byte of the hash and signature algorithm
|
||||
* @param second Second byte of the hash and signature algorithm
|
||||
* @param hashAlgo The enum wc_HashType of the MAC algorithm
|
||||
* @param sigAlgo The enum Key_Sum of the authentication algorithm
|
||||
*/
|
||||
void wolfSSL_get_sigalg_info(byte first, byte second,
|
||||
enum wc_HashType* hashAlgo, enum Key_Sum* sigAlgo)
|
||||
int* hashAlgo, int* sigAlgo)
|
||||
{
|
||||
byte input[2];
|
||||
byte hashType;
|
||||
@@ -16399,7 +16405,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
||||
case invalid_sa_algo:
|
||||
default:
|
||||
*hashAlgo = WC_HASH_TYPE_NONE;
|
||||
*sigAlgo = (enum Key_Sum)0;
|
||||
*sigAlgo = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -16439,7 +16445,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
||||
break;
|
||||
default:
|
||||
*hashAlgo = WC_HASH_TYPE_NONE;
|
||||
*sigAlgo = (enum Key_Sum)0;
|
||||
*sigAlgo = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user