Topic: decrypt_error?
i use method wolfTLSv1_2_client_method , when handshake finished ,it returned "decrypt_error",who know why?
You are not logged in. Please login or register.
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
ReferenceswolfSSL - Embedded SSL Library → wolfSSL → decrypt_error?
i use method wolfTLSv1_2_client_method , when handshake finished ,it returned "decrypt_error",who know why?
Hi zhbn,
Have you enabled wolfSSL embedded SSL debug logging? You can do so by either using the --enable-debug option passed to ./configure, or by defining the DEBUG_WOLFSSL preprocessor define when compiling wolfSSL. Then, in your application code you can call wolfSSL_Debugging_ON() and wolfSSL_Debugging_OFF() to control wolfSSL debug message logging.
You could also check the return value of either wolfSSL_connect() or wolfSSL_accept(), then in the case of failure (SSL_FAILURE), check the specific error code with wolfSSL_get_error().
Best Regards,
Chris
wolfSSL - Embedded SSL Library → wolfSSL → decrypt_error?
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.017 seconds (88% PHP - 12% DB) with 12 queries