SRP_user_pwd_set1_ids

Set the user identifier and optional info string on an SRP_user_pwd.

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
int
SRP_user_pwd_set1_ids(
    SRP_user_pwd* user_pwd,
    char const* id,
    char const* info);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, 0 on allocation failure.

Parameters

NameDescription
user_pwdEntry to update.
idUser name to copy, or NULL to clear.
infoOptional info string to copy, or NULL to clear.