Commit 6191cc9 1 parent 519c298 commit 6191cc9 Copy full SHA for 6191cc9
File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1219,6 +1219,11 @@ enum ssl_private_key_result_t BORINGSSL_ENUM_INT {
1219
1219
// key hooks. This is used to off-load signing operations to a custom,
1220
1220
// potentially asynchronous, backend. Metadata about the key such as the type
1221
1221
// and size are parsed out of the certificate.
1222
+ //
1223
+ // Callers that use this structure should additionally call
1224
+ // |SSL_set_signing_algorithm_prefs| or |SSL_CTX_set_signing_algorithm_prefs|
1225
+ // with the private key's capabilities. This ensures BoringSSL will select a
1226
+ // suitable signature algorithm for the private key.
1222
1227
struct ssl_private_key_method_st {
1223
1228
// sign signs the message |in| in using the specified signature algorithm. On
1224
1229
// success, it returns |ssl_private_key_success| and writes at most |max_out|
You can’t perform that action at this time.
0 commit comments