The correct option is
D whose
Relative pronouns have two functions- Like other pronouns they stand for a noun or pronoun placed before them and like conjunctions they join subclauses with main clause and start the adjective clause.
In the given sentence the friend of the speaker is being talked about.
'Who', 'whom', 'whose' are used in case of persons.
'Of which' is not a relative pronoun. 'Which' is used for things and animals.
'Whom' is the objective form of 'who' and must be used to refer to the object of a verb or preposition.
"Whose" is the possessive form of "who".
Since the given sentence shows possession, 'whose' must be used.
Thus option D is the correct answer.
Options A,B,C are incorrect.