X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Ftls1.h;h=0878851569309d4786e52284848734639501a11f;hp=156d3bf3980005464bbba32d84b0f781c8123e9c;hb=23cec1f4b4801c643853bf2eb07d7eae5f4fe7cb;hpb=b5cdec2feac6049418543216ac5da70395697839;ds=inline diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index 156d3bf398..0878851569 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -212,12 +212,12 @@ __owur int SSL_get_servername_type(const SSL *s); * as specified in RFC 5705. It writes |olen| bytes to |out| given a label and * optional context. (Since a zero length context is allowed, the |use_context| * flag controls whether a context is included.) It returns 1 on success and - * zero otherwise. + * 0 or -1 otherwise. */ __owur int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, - const char *label, size_t llen, - const unsigned char *p, size_t plen, - int use_context); + const char *label, size_t llen, + const unsigned char *context, + size_t contextlen, int use_context); int SSL_get_peer_signature_type_nid(const SSL *s, int *pnid);