Branch: Tag:

2019-05-28

2019-05-28 11:38:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Use SignatureScheme instead of array({Hash,Signature}Algorithm).

104:   Buffer get_signature_algorithms()   {    Buffer sign_algs = Buffer(); -  foreach(context->get_signature_algorithms(), [int hash, int sign]) +  foreach(context->get_signature_algorithms(), int signature_scheme)    { -  sign_algs->add_int(hash|sign, 2); +  sign_algs->add_int(signature_scheme, 2);    }    return sign_algs;   }