Commit f4411faa authored by FdaSilvaYY's avatar FdaSilvaYY
Browse files
parent f479eab2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ static int cipher_cleanup(EVP_CIPHER_CTX *ctx)

/*
 * Keep a table of known nids and associated methods.
 * Note that known_cipher_nids[] isn't necessarely indexed the same way as
 * Note that known_cipher_nids[] isn't necessarily indexed the same way as
 * cipher_data[] above, which known_cipher_methods[] is.
 */
static int known_cipher_nids[OSSL_NELEM(cipher_data)];
@@ -495,7 +495,7 @@ static int digest_cleanup(EVP_MD_CTX *ctx)

/*
 * Keep a table of known nids and associated methods.
 * Note that known_digest_nids[] isn't necessarely indexed the same way as
 * Note that known_digest_nids[] isn't necessarily indexed the same way as
 * digest_data[] above, which known_digest_methods[] is.
 */
static int known_digest_nids[OSSL_NELEM(digest_data)];
+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@ if the time is successfully printed out and 0 if an error occurred (I/O error or
invalid time format).

ASN1_TIME_to_tm() returns 1 if the time is successfully parsed and 0 if an
error occured (invalid time format).
error occurred (invalid time format).

ASN1_TIME_diff() returns 1 for success and 0 for failure. It can fail if the
passed-in time structure has invalid syntax, for example.
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ SSL_read_early_data() may return 3 possible values:

=item SSL_READ_EARLY_DATA_ERROR

This indicates an IO or some other error occured. This should be treated in the
This indicates an IO or some other error occurred. This should be treated in the
same way as a 0 return value from L<SSL_read_ex(3)>.

=item SSL_READ_EARLY_DATA_SUCCESS
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ this UI, it should be freed using UI_free().
UI_new_method() creates a new UI using the given UI method.  When done with
this UI, it should be freed using UI_free().

UI_OpenSSL() returns the built-in UI method (note: not necessarely the
UI_OpenSSL() returns the built-in UI method (note: not necessarily the
default one, since the default can be changed.  See further on).  This
method is the most machine/OS dependent part of OpenSSL and normally
generates the most problems when porting.