mirror of https://github.com/wolfSSL/wolfssl.git
fix whitespace.
parent
313d29f752
commit
ed0418c2a8
|
@ -55956,7 +55956,7 @@ static int GetStaticEphemeralKey(WOLFSSL_CTX* ctx, WOLFSSL* ssl,
|
||||||
if (keySz) *keySz = 0;
|
if (keySz) *keySz = 0;
|
||||||
|
|
||||||
#ifndef SINGLE_THREADED
|
#ifndef SINGLE_THREADED
|
||||||
if (ctx->staticKELockInit &&
|
if (ctx->staticKELockInit &&
|
||||||
(ret = wc_LockMutex(&ctx->staticKELock)) != 0) {
|
(ret = wc_LockMutex(&ctx->staticKELock)) != 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13679,7 +13679,7 @@ static int MatchBaseName(int type, const char* name, int nameSz,
|
||||||
if (base == NULL || baseSz <= 0 || name == NULL || nameSz <= 0 ||
|
if (base == NULL || baseSz <= 0 || name == NULL || nameSz <= 0 ||
|
||||||
name[0] == '.' || nameSz < baseSz ||
|
name[0] == '.' || nameSz < baseSz ||
|
||||||
(type != ASN_RFC822_TYPE && type != ASN_DNS_TYPE &&
|
(type != ASN_RFC822_TYPE && type != ASN_DNS_TYPE &&
|
||||||
type != ASN_DIR_TYPE)) {
|
type != ASN_DIR_TYPE)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue