[#EC_KEY_set_asn1_flag]
= EC&lowbar;KEY&lowbar;set&lowbar;asn1&lowbar;flag
:mrdocs:

Set ASN&period;1 encoding flags on the EC&lowbar;GROUP inside `eckey` (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
EC&lowbar;KEY&lowbar;set&lowbar;asn1&lowbar;flag(
    xref:EC_KEY.adoc[EC&lowbar;KEY]* eckey,
    int asn1&lowbar;flag);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *eckey*
| Key whose group encoding flags are updated&period;
| *asn1&lowbar;flag*
| Flag such as OPENSSL&lowbar;EC&lowbar;NAMED&lowbar;CURVE or OPENSSL&lowbar;EC&lowbar;EXPLICIT&lowbar;CURVE&period;
|===


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