qapi/crypto: Rename QCryptoAFAlg to QCryptoAFAlgo
For consistency with other types names *Algo. Signed-off-by: Markus Armbruster <armbru@redhat.com> Acked-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20240904111836.3273842-17-armbru@redhat.com>
This commit is contained in:
+4
-4
@@ -66,13 +66,13 @@ qcrypto_afalg_socket_bind(const char *type, const char *name,
|
||||
return sbind;
|
||||
}
|
||||
|
||||
QCryptoAFAlg *
|
||||
QCryptoAFAlgo *
|
||||
qcrypto_afalg_comm_alloc(const char *type, const char *name,
|
||||
Error **errp)
|
||||
{
|
||||
QCryptoAFAlg *afalg;
|
||||
QCryptoAFAlgo *afalg;
|
||||
|
||||
afalg = g_new0(QCryptoAFAlg, 1);
|
||||
afalg = g_new0(QCryptoAFAlgo, 1);
|
||||
/* initialize crypto API socket */
|
||||
afalg->opfd = -1;
|
||||
afalg->tfmfd = qcrypto_afalg_socket_bind(type, name, errp);
|
||||
@@ -93,7 +93,7 @@ error:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void qcrypto_afalg_comm_free(QCryptoAFAlg *afalg)
|
||||
void qcrypto_afalg_comm_free(QCryptoAFAlgo *afalg)
|
||||
{
|
||||
if (!afalg) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user