aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/libotputil/lrfc1760-skey.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libotputil/lrfc1760-skey.c')
-rw-r--r--lib/libotputil/lrfc1760-skey.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libotputil/lrfc1760-skey.c b/lib/libotputil/lrfc1760-skey.c
index f152cd4..62e5d5e 100644
--- a/lib/libotputil/lrfc1760-skey.c
+++ b/lib/libotputil/lrfc1760-skey.c
@@ -93,6 +93,8 @@ otputil_skey_cmp(
93 size_t x_len = ((x)) ? strlen(x) : 0; 93 size_t x_len = ((x)) ? strlen(x) : 0;
94 size_t y_len = ((y)) ? strlen(y) : 0; 94 size_t y_len = ((y)) ? strlen(y) : 0;
95 95
96 if ( (!(x)) && (!(y)) )
97 return(0);
96 if ( ((x)) && (!(y)) ) 98 if ( ((x)) && (!(y)) )
97 return(-1); 99 return(-1);
98 if ( (!(x)) && ((y)) ) 100 if ( (!(x)) && ((y)) )