oid: make git_oid_fromstrn support hex strings of odd length
oid: make git_oid_fromstrn support hex strings of odd length

This fixes issue #433.

Signed-off-by: J. David Ibáñez <8b735aa7eea6c8b37e1c1804073d464404571ff8@gmail.com>

Corillian/libgit2,claudelee/libgit2,KTXSoftware/libgit2,jeffhostetler/public_libgit2,rcorre/libgit2,skabel/manguse,evhan/libgit2,jflesch/libgit2-mariadb,mhp/libgit2,jflesch/libgit2-mariadb,spraints/libgit2,kenprice/libgit2,falqas/libgit2,yosefhackmon/libgit2,mrksrm/Mingijura,JIghtuse/libgit2,mhp/libgit2,magnus98/TEST,evhan/libgit2,jflesch/libgit2-mariadb,linquize/libgit2,raybrad/libit2,sygool/libgit2,maxiaoqian/libgit2,mrksrm/Mingijura,leoyanggit/libgit2,yongthecoder/libgit2,raybrad/libit2,MrHacky/libgit2,swisspol/DEMO-libgit2,ardumont/libgit2,t0xicCode/libgit2,kenprice/libgit2,claudelee/libgit2,magnus98/TEST,Aorjoa/libgit2_maked_lib,stewid/libgit2,amyvmiwei/libgit2,skabel/manguse,skabel/manguse,linquize/libgit2,dleehr/libgit2,kenprice/libgit2,kissthink/libgit2,KTXSoftware/libgit2,mingyaaaa/libgit2,jeffhostetler/public_libgit2,since2014/libgit2,amyvmiwei/libgit2,nokiddin/libgit2,magnus98/TEST,dleehr/libgit2,amyvmiwei/libgit2,saurabhsuniljain/libgit2,mingyaaaa/libgit2,claudelee/libgit2,nokiddin/libgit2,mcanthony/libgit2,iankronquist/libgit2,yosefhackmon/libgit2,Aorjoa/libgit2_maked_lib,oaastest/libgit2,swisspol/DEMO-libgit2,mrksrm/Mingijura,raybrad/libit2,since2014/libgit2,mrksrm/Mingijura,Snazz2001/libgit2,zodiac/libgit2.js,Corillian/libgit2,KTXSoftware/libgit2,skabel/manguse,sygool/libgit2,MrHacky/libgit2,stewid/libgit2,Corillian/libgit2,JIghtuse/libgit2,oaastest/libgit2,spraints/libgit2,raybrad/libit2,sim0629/libgit2,ardumont/libgit2,mcanthony/libgit2,stewid/libgit2,mhp/libgit2,ardumont/libgit2,maxiaoqian/libgit2,claudelee/libgit2,kissthink/libgit2,Tousiph/Demo1,since2014/libgit2,oaastest/libgit2,stewid/libgit2,KTXSoftware/libgit2,kenprice/libgit2,oaastest/libgit2,joshtriplett/libgit2,yongthecoder/libgit2,saurabhsuniljain/libgit2,dleehr/libgit2,maxiaoqian/libgit2,chiayolin/libgit2,rcorre/libgit2,KTXSoftware/libgit2,evhan/libgit2,dleehr/libgit2,evhan/libgit2,jflesch/libgit2-mariadb,yosefhackmon/libgit2,dleehr/libgit2,jamieleecool/ptest,Snazz2001/libgit2,Tousiph/Demo1,iankronquist/libgit2,since2014/libgit2,oaastest/libgit2,mhp/libgit2,joshtriplett/libgit2,leoyanggit/libgit2,nokiddin/libgit2,leoyanggit/libgit2,t0xicCode/libgit2,swisspol/DEMO-libgit2,sygool/libgit2,nokiddin/libgit2,kenprice/libgit2,claudelee/libgit2,jflesch/libgit2-mariadb,linquize/libgit2,mcanthony/libgit2,maxiaoqian/libgit2,kissthink/libgit2,rcorre/libgit2,linquize/libgit2,magnus98/TEST,yongthecoder/libgit2,maxiaoqian/libgit2,MrHacky/libgit2,spraints/libgit2,whoisj/libgit2,sim0629/libgit2,Snazz2001/libgit2,mingyaaaa/libgit2,chiayolin/libgit2,Snazz2001/libgit2,swisspol/DEMO-libgit2,jamieleecool/ptest,jflesch/libgit2-mariadb,JIghtuse/libgit2,JIghtuse/libgit2,jeffhostetler/public_libgit2,Corillian/libgit2,kissthink/libgit2,spraints/libgit2,ardumont/libgit2,Aorjoa/libgit2_maked_lib,magnus98/TEST,leoyanggit/libgit2,sim0629/libgit2,joshtriplett/libgit2,nokiddin/libgit2,leoyanggit/libgit2,nacho/libgit2,jamieleecool/ptest,chiayolin/libgit2,whoisj/libgit2,rcorre/libgit2,whoisj/libgit2,saurabhsuniljain/libgit2,KTXSoftware/libgit2,joshtriplett/libgit2,mingyaaaa/libgit2,kissthink/libgit2,kenprice/libgit2,t0xicCode/libgit2,Tousiph/Demo1,yosefhackmon/libgit2,rcorre/libgit2,Corillian/libgit2,since2014/libgit2,stewid/libgit2,leoyanggit/libgit2,nokiddin/libgit2,falqas/libgit2,swisspol/DEMO-libgit2,zodiac/libgit2.js,skabel/manguse,t0xicCode/libgit2,JIghtuse/libgit2,ardumont/libgit2,ardumont/libgit2,whoisj/libgit2,t0xicCode/libgit2,sim0629/libgit2,mhp/libgit2,sim0629/libgit2,amyvmiwei/libgit2,falqas/libgit2,sygool/libgit2,yongthecoder/libgit2,falqas/libgit2,Tousiph/Demo1,whoisj/libgit2,mcanthony/libgit2,mingyaaaa/libgit2,JIghtuse/libgit2,yongthecoder/libgit2,amyvmiwei/libgit2,Aorjoa/libgit2_maked_lib,Tousiph/Demo1,MrHacky/libgit2,Snazz2001/libgit2,dleehr/libgit2,kissthink/libgit2,yosefhackmon/libgit2,magnus98/TEST,spraints/libgit2,falqas/libgit2,Aorjoa/libgit2_maked_lib,jeffhostetler/public_libgit2,joshtriplett/libgit2,joshtriplett/libgit2,mcanthony/libgit2,iankronquist/libgit2,jeffhostetler/public_libgit2,saurabhsuniljain/libgit2,linquize/libgit2,spraints/libgit2,sim0629/libgit2,zodiac/libgit2.js,MrHacky/libgit2,linquize/libgit2,mcanthony/libgit2,amyvmiwei/libgit2,yosefhackmon/libgit2,maxiaoqian/libgit2,iankronquist/libgit2,chiayolin/libgit2,rcorre/libgit2,MrHacky/libgit2,mhp/libgit2,Snazz2001/libgit2,t0xicCode/libgit2,sygool/libgit2,swisspol/DEMO-libgit2,sygool/libgit2,yongthecoder/libgit2,saurabhsuniljain/libgit2,nacho/libgit2,falqas/libgit2,nacho/libgit2,raybrad/libit2,nacho/libgit2,Corillian/libgit2,stewid/libgit2,whoisj/libgit2,claudelee/libgit2,since2014/libgit2,chiayolin/libgit2,saurabhsuniljain/libgit2,mrksrm/Mingijura,zodiac/libgit2.js,zodiac/libgit2.js,chiayolin/libgit2,oaastest/libgit2,jamieleecool/ptest,skabel/manguse,iankronquist/libgit2,mrksrm/Mingijura,iankronquist/libgit2,Tousiph/Demo1,jeffhostetler/public_libgit2,mingyaaaa/libgit2