[#SSL_CIPHER_get_protocol_id]
= SSL&lowbar;CIPHER&lowbar;get&lowbar;protocol&lowbar;id
:mrdocs:

Return the two&hyphen;octet TLS protocol cipher suite identifier&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
uint16&lowbar;t
SSL&lowbar;CIPHER&lowbar;get&lowbar;protocol&lowbar;id(xref:SSL_CIPHER.adoc[SSL&lowbar;CIPHER] const* c);
----

== Return Value

Protocol ID as used on the wire in SSLv3&sol;TLS ClientHello&sol;ServerHello&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| Cipher suite to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
