summaryrefslogtreecommitdiffstats
path: root/lib/libgssapi/gss_mech_switch.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-04-25 09:24:04 -0300
committerRenato Botelho <renato@netgate.com>2016-04-25 09:24:04 -0300
commitd3c47eaa9d2ca52cf936c0801b144ff5a228ad56 (patch)
tree264c7f84714038dc366de9298876def5ec56bbc3 /lib/libgssapi/gss_mech_switch.c
parentea9ba1a51b165fe4540662a900bb800f501bdf74 (diff)
parentdce9e3914e6275f657335fa04e3ccf117d07edda (diff)
downloadFreeBSD-src-d3c47eaa9d2ca52cf936c0801b144ff5a228ad56.zip
FreeBSD-src-d3c47eaa9d2ca52cf936c0801b144ff5a228ad56.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'lib/libgssapi/gss_mech_switch.c')
-rw-r--r--lib/libgssapi/gss_mech_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libgssapi/gss_mech_switch.c b/lib/libgssapi/gss_mech_switch.c
index d07db88..2d742e7 100644
--- a/lib/libgssapi/gss_mech_switch.c
+++ b/lib/libgssapi/gss_mech_switch.c
@@ -83,7 +83,7 @@ _gss_string_to_oid(const char* s, gss_OID oid)
* out the size. Second time around, we actually encode the
* number.
*/
- res = 0;
+ res = NULL;
for (i = 0; i < 2; i++) {
byte_count = 0;
for (p = s, j = 0; p; p = q, j++) {
OpenPOWER on IntegriCloud