forked from wolfSSL/wolfssl
changed error return code for dtls functions to NOT_COMPILED_IN
This commit is contained in:
@ -2244,7 +2244,7 @@ int CyaSSL_dtls_get_current_timeout(CYASSL* ssl)
|
|||||||
#ifdef CYASSL_DTLS
|
#ifdef CYASSL_DTLS
|
||||||
return ssl->dtls_timeout;
|
return ssl->dtls_timeout;
|
||||||
#else
|
#else
|
||||||
return SSL_NOT_IMPLEMENTED;
|
return NOT_COMPILED_IN;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2259,7 +2259,7 @@ int CyaSSL_dtls_got_timeout(CYASSL* ssl)
|
|||||||
return result;
|
return result;
|
||||||
#else
|
#else
|
||||||
(void)ssl;
|
(void)ssl;
|
||||||
return SSL_NOT_IMPLEMENTED;
|
return NOT_COMPILED_IN;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user