aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/libotputil
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libotputil')
-rw-r--r--lib/libotputil/lrfc1760-skey.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libotputil/lrfc1760-skey.c b/lib/libotputil/lrfc1760-skey.c
index adb61a1..44216e8 100644
--- a/lib/libotputil/lrfc1760-skey.c
+++ b/lib/libotputil/lrfc1760-skey.c
@@ -169,10 +169,10 @@ otputil_skey_str(
169 uint8_t bv_val[8]; 169 uint8_t bv_val[8];
170 static char buff[32]; 170 static char buff[32];
171 171
172 dstlen = ((dst)) ? dstlen : sizeof(buff); 172 dstlen = ((dst)) ? dstlen : sizeof(buff);
173 dst = ((dst)) ? dst : buff; 173 dst = ((dst)) ? dst : buff;
174 res.bv_val = bv_val; 174 res.bv_val = bv_val;
175 res.bv_len = sizeof(bv_val); 175 res.bv_len = sizeof(bv_val);
176 176
177 if (otputil_skey_code(skey_pass, skey_seq, 0, &val) == -1) 177 if (otputil_skey_code(skey_pass, skey_seq, 0, &val) == -1)
178 return(NULL); 178 return(NULL);