[#SSL_CIPHER_get_cipher_nid]
= SSL&lowbar;CIPHER&lowbar;get&lowbar;cipher&lowbar;nid
:mrdocs:

Return the NID of the bulk cipher algorithm used by a cipher suite&period;

== Synopsis

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

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

== Return Value

Cipher NID, or NID&lowbar;undef when the suite has no encryption&period;

== Parameters

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


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