Skip to content

Commit 44906b0

Browse files
committed
fixup! revert accidental change
1 parent 56ed1f8 commit 44906b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/crypto_keys.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ MaybeLocal<Value> WritePublicKey(
126126
const EVPKeyPointer::PublicKeyEncodingConfig& config) {
127127
if (!pkey) return {};
128128
auto res = pkey.writePublicKey(config);
129-
if (res) return ToV8Value(env, std::move(res.value), config);
129+
if (res) return ToV8Value(env, res.value, config);
130130

131131
ThrowCryptoError(
132132
env, res.openssl_error.value_or(0), "Failed to encode public key");

0 commit comments

Comments
 (0)