der_encode_utf8_string: calm coverity
This commit is contained in:
		
							parent
							
								
									4c8949e449
								
							
						
					
					
						commit
						ea9b2a858a
					
				@ -79,6 +79,7 @@ int der_encode_utf8_string(const wchar_t *in,  unsigned long inlen,
 | 
				
			|||||||
      out[x++] = (unsigned char)((len>>8)&255);
 | 
					      out[x++] = (unsigned char)((len>>8)&255);
 | 
				
			||||||
      out[x++] = (unsigned char)(len&255);
 | 
					      out[x++] = (unsigned char)(len&255);
 | 
				
			||||||
   } else {
 | 
					   } else {
 | 
				
			||||||
 | 
					       /* coverity[dead_error_line] */
 | 
				
			||||||
      return CRYPT_INVALID_ARG;
 | 
					      return CRYPT_INVALID_ARG;
 | 
				
			||||||
   }
 | 
					   }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user