ssh-generator: fix pointer cast type

This commit is contained in:
Mike Yuan 2024-05-08 18:12:35 +08:00
parent 18303adcd3
commit a688e5fefd
No known key found for this signature in database
GPG key ID: 417471C0A40F58B3

View file

@ -400,7 +400,7 @@ static int parse_credentials(void) {
size_t sz = 0;
int r;
r = read_credential_with_decryption("ssh.listen", (void*) &b, &sz);
r = read_credential_with_decryption("ssh.listen", (void**) &b, &sz);
if (r <= 0)
return r;