X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=doc%2Fssl%2FSSL_CTX_set1_sigalgs.pod;h=a63076c874d0c2c3fbf96024fe1d7ab7cdcde4a9;hb=ed233db7421b98b2058da2a07f6c46b52917b918;hp=5786ea1dc1269afdb31eece24f8d6b173e3ded84;hpb=9b86974e0c705ea321ddbc9a9d8562c894809e5b;p=openssl.git diff --git a/doc/ssl/SSL_CTX_set1_sigalgs.pod b/doc/ssl/SSL_CTX_set1_sigalgs.pod index 5786ea1dc1..a63076c874 100644 --- a/doc/ssl/SSL_CTX_set1_sigalgs.pod +++ b/doc/ssl/SSL_CTX_set1_sigalgs.pod @@ -80,14 +80,14 @@ The use of MD5 as a digest is strongly discouraged due to security weaknesses. =head1 EXAMPLES -Set supported signature algoritms to SHA256 with ECDSA and SHA256 with RSA +Set supported signature algorithms to SHA256 with ECDSA and SHA256 with RSA using an array: const int slist[] = {NID_sha256, EVP_PKEY_EC, NID_sha256, EVP_PKEY_RSA}; SSL_CTX_set1_sigalgs(ctx, slist, 4); -Set supported signature algoritms to SHA256 with ECDSA and SHA256 with RSA +Set supported signature algorithms to SHA256 with ECDSA and SHA256 with RSA using a string: SSL_CTX_set1_sigalgs_list(ctx, "ECDSA+SHA256:RSA+SHA256");