krb5_c_enctype_compare -- Compare
two encryption types

C Prototype

krb5_error_code krb5_c_enctype_compare (
krb5_context context,
krb5_enctype e1,
krb5_enctype e2,
krb5_Boolean *similar );
Arguments

context (input/output) | | The context structure. |
| e1 (input) | | First encryption type. |
| e2 (input) | | Second encryption type. |
| similar (output) | | TRUE if types are similar;
FALSE if types are different. |
Description

This routine compares two encryption types.
Return
Values

This routine returns the following KRB5 status code:
KRB5_BAD_ENCTYPE
|
Bad encryption type.
|